<%@ page import="com.conversationboard.model.*" %>
<%@ page import="com.conversationboard.config.*" %>
<%@ page import="com.conversationboard.controller.confirm.*" %>
<%@ page import="com.conversationboard.view.MainMenu"%>

<%@ page pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8"%>

<%
	String action = request.getParameter("action");
	String message = Confirm.getMessage(action);
%>

<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<title>Confirm Admin Action</title>
		<link rel="stylesheet" type="text/css" href="<%=Configuration.getInstance().getRoot()%>/Stylesheets/<%=StyleSheets.getStyleSheetFileName(request.getCookies())%>"/>
	</head>

	<body>

		<%= MainMenu.display(request.getUserPrincipal()) %>
	
		<div class="headingblock">
			<h1>Please Confirm...</h1>
		</div>
		
		<div class="mainblock">

				
			<form class="formsection" action="<%=Configuration.getInstance().getRoot()%>/<%=Confirm.getForwardUrl(action)%>" method="post">
				
				<p><%=message%></p>
	
				<%=Confirm.getParametersAsHiddenLabels(request) %>
			
			 	<input type="submit" value="      Confirm Action      " />

				<p class='notworksafe'><strong>If you did not initiate this action yourself, then you are likely at this page as a result
				   of an attempt to subvert the board's normal operation. Do not confirm the action.</strong></p>

			 	<p>Please note that the authority to carry out this action will expire shortly (five minutes).
			 	   If it does not work, you will have to go back to the main page and carry out the action again.</p>
			 	
			</form>
			
			
		</div>
		
		<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>-->
		<!--<script type="text/javascript">_uacct = "UA-1148679-1";urchinTracker();</script>--> 
		
	</body>
	
</html>
